home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 141 < prev    next >
Encoding:
Text File  |  1996-08-06  |  862 b   |  28 lines

  1. Newsgroups: comp.std.c
  2. Path: munta.cs.mu.OZ.AU!fjh
  3. From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
  4. Subject: Re: ... char * * promotion to char const * const * ...
  5. Message-ID: <9601903.10111@mulga.cs.mu.OZ.AU>
  6. Sender: news@cs.mu.OZ.AU (CS-Usenet)
  7. Organization: Computer Science, University of Melbourne, Australia
  8. References: <4dgj8q$qin@unix.sri.com>
  9. Date: Thu, 18 Jan 1996 16:32:58 GMT
  10.  
  11. mklenk@updike.sri.com (Mark Klenk) writes:
  12.  
  13. >    My question is this:
  14. >
  15. >    Why does a char * * not naturally promote to a
  16. >    char const * const *?
  17.  
  18. It's an unfortunate limitation imposed by the C standard.
  19.  
  20. Incidentally, this bug is fixed in C++ - your code is legal C++,
  21. according to the draft C++ standard.
  22.  
  23. I hope this bug will also get fixed in C9X.
  24.  
  25. --
  26. Fergus Henderson                 WWW: http://www.cs.mu.oz.au/~fjh
  27. fjh@cs.mu.oz.au                  PGP: finger fjh@128.250.37.3
  28.